package com.lyj.knife4j.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;

/**
 * 测试dto
 * @author:liyajie
 * @createTime:2022/1/18 22:33
 * @version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("测试dto")
public class TestDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID", example = "")
    private String userId;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", example = "")
    private String nickname;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", example = "")
    private String username;

}
